{extend name="base" /}
{block name="title"}
<title>用户中心-{$site_config.site_title}</title>
{/block}
{block name="body"}
        <div class="personal">
            <div class="personal_head">
                <div class="personal_header">
                    <div class="personal_header_div1"><a href="{:url('home/user/userInfo')}">
                        <img src="__STATIC__/img/mine_touxiang.png" class="head_portrait"/></a>
                    </div>
                    <div class="personal_header_div2">
                        <div class="personal_header_name">
                            <div class="personal_header_name_per" style="width: 100%;padding: 0;">{$user_info.user_name}</div>
                            <a href="{:url('home/user/userInfo')}" style="display: none;"><div class="personal_header_name_modify"><!-- <img src="__STATIC__/img/mine_icon01.png" class="modify"/> --></div></a>
                        </div>
                        <div class="personal_header_phone" style="display: none;">{$user_info.mobile}</div>
                        <div class="personal_header_phone">{$user_info.rank_name}</div>
                        <a href="{:url('home/user/chooseRank')}"><div class="personal_header_div3" style="width: 100px;">
                        <button type="button" class="personal_header_button">会员升级</button>
                    </div></a>
                    </div>
                    <a href="{:url('home/user/chooseRank')}"><div class="personal_header_div3">
                        <button type="button" class="personal_header_button" style="display: none;">会员升级</button>
                    </div></a>
                    <div class="personal_header_div4 sweep">
                        <img src="__STATIC__/img/mine_icon02.png" class="personal_header_add"/>
                    </div>
                </div>
            </div>
            <div class="personal_integral">
                <div class="activation_integral">
                    <div class="activation_integral_title">
                        <div class="activation_integral_i">
                            <img src="__STATIC__/img/mine_icon04.png" class="activation_integral_img"/>
                        </div>
                        <div class="activation_integral_tit">激活所得积分</div>
                    </div>
                    <div class="activation_integral_wallet">
                        <div class="activation_integral_wallet_left">
                            <div class="waiting_release_i">
                                <img src="__STATIC__/img/mine_wallet01.png" class="waiting_release_img"/>
                            </div>
                            <a href="{:url('home/user/waitingRelease',['type' => 'reg_integral'])}"><div class="waiting_release_title">
                                <div class="waiting_release_tit">待释放</div>
                                <div class="waiting_release_money">￥{$user_info.reg_integral}</div>
                            </div></a>
                        </div>
                        <div class="activation_integral_wallet_right">
                            <div class="waiting_release_i">
                                <img src="__STATIC__/img/mine_wallet02.png" class="waiting_release_img"/>
                            </div>
                            <a href="{:url('home/user/alreadyRelease',['type' => 're_reg_integral'])}"><div class="waiting_release_title">
                                <div class="waiting_release_tit">已释放</div>
                                <div class="waiting_release_money">￥{$user_info.re_reg_integral}</div>
                            </div></a>
                        </div>
                    </div>
                </div>
                <div class="activation_integral">
                    <div class="activation_integral_title">
                        <div class="activation_integral_i">
                            <img src="__STATIC__/img/mine_icon04.png" class="activation_integral_img"/>
                        </div>
                        <div class="activation_integral_tit">消费所得积分</div>
                    </div>
                    <div class="activation_integral_wallet">
                        <div class="activation_integral_wallet_left">
                            <div class="waiting_release_i">
                                <img src="__STATIC__/img/mine_wallet03.png" class="waiting_release_img"/>
                            </div>
                            <a href="{:url('home/user/waitingRelease',['type' => 'consume_integral'])}"><div class="waiting_release_title">
                                <div class="waiting_release_tit">待释放</div>
                                <div class="waiting_release_money">￥{$user_info.consume_integral}</div>
                            </div></a>
                        </div>
                        <div class="activation_integral_wallet_right">
                            <div class="waiting_release_i">
                                <img src="__STATIC__/img/mine_wallet04.png" class="waiting_release_img"/>
                            </div>
                            <a href="{:url('home/user/alreadyRelease',['type' => 're_consume_integral'])}"><div class="waiting_release_title">
                                <div class="waiting_release_tit">已释放</div>
                                <div class="waiting_release_money">￥{$user_info.re_consume_integral}</div>
                            </div></a>
                        </div>
                    </div>
                </div>
                <div class="activation_integral">
                    <div class="activation_integral_title">
                        <div class="activation_integral_i">
                            <img src="__STATIC__/img/mine_icon04.png" class="activation_integral_img"/>
                        </div>
                        <div class="activation_integral_tit">推荐所得积分</div>
                    </div>
                    <div class="activation_integral_wallet">
                        <div class="activation_integral_wallet_left">
                            <div class="waiting_release_i">
                                <img src="__STATIC__/img/mine_wallet05.png" class="waiting_release_img"/>
                            </div>
                            <a href="{:url('home/user/waitingRelease',['type' => 'share_integral'])}"><div class="waiting_release_title">
                                <div class="waiting_release_tit">待释放</div>
                                <div class="waiting_release_money">￥{$user_info.share_integral}</div>
                            </div></a>
                        </div>
                        <div class="activation_integral_wallet_right">
                            <div class="waiting_release_i">
                                <img src="__STATIC__/img/mine_wallet06.png" class="waiting_release_img"/>
                            </div>
                            <a href="{:url('home/user/alreadyRelease',['type' => 're_share_integral'])}"><div class="waiting_release_title">
                                <div class="waiting_release_tit">已释放</div>
                                <div class="waiting_release_money">￥{$user_info.re_share_integral}</div>
                            </div></a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="personal_list">
                {gt name="user_info.rank_id" value="6"}
                <a href="{:url('home/user/shopWallet')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/mine_icon05.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">商家钱包</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>
                {/gt}
                
                <a href="{:url('home/user/balance')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/mine_icon06.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">增值宝</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div>
                
                <a href="{:url('home/user/financeList')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/mine_icon07.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">财务</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>

                <a href="{:url('home/user/withdrawList')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/icon_withdrawal.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">提现记录</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>
                
                <a href="{:url('home/user/transferList')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/icon_transfer.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">转账记录</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>
                
                <a href="{:url('home/user/bonus')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/mine_icon08.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">奖金</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>
                
                <a href="{:url('home/news/index')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/mine_icon09.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">公告</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>
                <a href="{:url('home/user/share')}"><div class="personal_list01">
                    <div class="personal_list_i">
                        <img src="__STATIC__/img/mine_icon111.png" class="personal_list_img"/>
                    </div>
                    <div class="personal_list_name">我的推荐码</div>
                    <div class="personal_list_arrow">
                        <img src="__STATIC__/img/mine_icon10.png" class="personal_lists_arrow"/>
                    </div>
                </div></a>
            </div>
            <div class="personal_exit">
                <div style="width:80%;margin:0 auto;">
                    <a href="{:url('home/user/logout')}"><button type="button" class="exit" >安全退出</button></a>
                </div>
            </div>
            <div style="height: 60px;clear: both;"></div>
        </div>
        
        <div class="pop-panel2">
            <div class="details ">
                <div class="notice_list">
                    <!--<div class="close">
                        <img src="__STATIC__/img/close.png" style="position:absolute;top:0;right:0;padding:2% 0;"/>
                    </div>  -->
                    <!-- www.richs.my/Home/user/payfor/uid/27.html -->
                    <div class="notice_bady"><!-- href="/Home/user/payfor.html?uid=27" -->
                        <a  href="javascript:void(0);" onclick="scanQr()"><div class="notice_closed {gt name="user_info.rank_id" value="6"}notice_sweep{/gt}">
                            <div class="notice_sweep_i">
                                <img src="__STATIC__/img/mine_icon11.png" class="notice_sweep_img"/>
                            </div>
                            <div class="notice_sweep_n">扫一扫</div>
                        </div></a>
                        {gt name="user_info.rank_id" value="6"}
                        <a href="{:url('home/user/collectCode')}"><div class="notice_closed">
                            <div class="notice_closed_i">
                                <img src="__STATIC__/img/mine_icon12.png" class="notice_closed_img"/>
                            </div>
                            <div class="notice_closed_n">收钱</div>
                        </div></a>
                        {/gt}
                    </div>
                    <div class="notice_content"></div>
                </div>
                <script type="text/javascript">
                function scanQr() { 
                    var u = navigator.userAgent;
                    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
                    if(isAndroid)
                    {
                        appScanQr.scan();
                    }else{
                        window.webkit.messageHandlers.appScanQr.postMessage('remove navigationBar');
                    }               
                }
                </script>
            </div>
            <div class="bg"></div>
        </div>
        <!-- 弹出扫一扫菜单 -->
        <script type="text/javascript">
            $('.sweep').on('click',function(e){
                $('.pop-panel2').show();
                e.stopPropagation();
            })
            $('body').on('click',function(){
                $('.pop-panel2').hide();
            })
        </script>
    {include file="public/menu" /}
{/block}

